rust: Regenerate with correct Since
authorColin Walters <walters@verbum.org>
Sat, 1 Feb 2025 18:37:20 +0000 (13:37 -0500)
committerColin Walters <walters@verbum.org>
Sat, 1 Feb 2025 18:38:21 +0000 (13:38 -0500)
To ensure the recent kexec_load API has a feature gate.

Signed-off-by: Colin Walters <walters@verbum.org>
Cargo.toml
rust-bindings/src/auto/sysroot.rs
rust-bindings/src/auto/versions.txt
rust-bindings/sys/Cargo.toml
rust-bindings/sys/src/auto/versions.txt
rust-bindings/sys/src/lib.rs

index 144986858b9c02542321ae1c4d1d59b0284c8d69..dbc3185d43545624e4aebcdfd009fb7d72f5c9b9 100644 (file)
@@ -101,3 +101,4 @@ v2022_7 = ["v2022_6", "ffi/v2022_7"]
 v2023_1 = ["v2022_7", "ffi/v2023_1"]
 v2023_8 = ["v2023_1", "ffi/v2023_8"]
 v2023_11 = ["v2023_8", "ffi/v2023_11"]
+v2025_1 = ["v2023_11", "ffi/v2025_1"]
index 1050a8f542bb49e7c6931ecd446af81ca20e0b43..e0e90e9297fa878b86f425622c7fc794a03e15d0 100644 (file)
@@ -100,6 +100,8 @@ impl Sysroot {
         }
     }
 
+    #[cfg(feature = "v2025_1")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_1")))]
     #[doc(alias = "ostree_sysroot_deployment_kexec_load")]
     pub fn deployment_kexec_load(&self, deployment: &Deployment, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
         unsafe {
index 2695c65df4a5372881e8b5e0698a28d64f5c5d02..4f5f3dd6075750dc640884f7d111607cf7a6f252 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 1ceef435b152)
+from gir-files (@ 533c8b9281ba)
index a27acda7001090553a4f403d707928bd4aa67612..f24c765cb2acb9001492e85a19777bf9b424db73 100644 (file)
@@ -68,6 +68,7 @@ v2022_7 = ["v2022_5"]
 v2023_1 = ["v2022_7"]
 v2023_8 = ["v2023_1"]
 v2023_11 = ["v2023_8"]
+v2025_1 = ["v2023_11"]
 
 [lib]
 name = "ostree_sys"
@@ -241,3 +242,6 @@ version = "2023.8"
 
 [package.metadata.system-deps.ostree_1.v2023_11]
 version = "2023.11"
+
+[package.metadata.system-deps.ostree_1.v2025_1]
+version = "2025.1"
index 2695c65df4a5372881e8b5e0698a28d64f5c5d02..4f5f3dd6075750dc640884f7d111607cf7a6f252 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 5433e2582f83)
-from gir-files (@ 1ceef435b152)
+from gir-files (@ 533c8b9281ba)
index bd7f114fab45c39ef1574a286a9049b96bbd5ac0..03814605065188324a3e0b8d3ab54b8db733d44a 100644 (file)
@@ -3084,6 +3084,8 @@ extern "C" {
         cancellable: *mut gio::GCancellable,
         error: *mut *mut glib::GError,
     ) -> gboolean;
+    #[cfg(feature = "v2025_1")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_1")))]
     pub fn ostree_sysroot_deployment_kexec_load(
         self_: *mut OstreeSysroot,
         deployment: *mut OstreeDeployment,